﻿using PetAdoptionShared.Enum;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PetAdoptApi.Entity;

[Table("pet")]
public class Pet
{
    [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public int Id { get; set; }

    public string Name { get; set; } = default!;

    public string Image { get; set; } = default!;

    public string Breed { get; set; } = default!;

    public Gender Gender { get; set; }

    public double Price { get; set; }

    public int Views { get; set; }

    public AdotptionStatus Status;

    public string Description { get; set; } = default!;
}

